#pragma once
enum E_MAGIC
{
    E_NONE = 1,
    E_LOOT=12    
};
class CMagicRun
{
    HHOOK m_hook;
    static E_MAGIC m_eType;
    static LPVOID m_data;
    static LRESULT CALLBACK CallWndRetProc(
    int nCode,
    WPARAM wParam,
    LPARAM lParam);

public:
    CMagicRun(void):m_hook(0){};
    ~CMagicRun(void){};
    bool Init();
    bool Release();
    bool Run(E_MAGIC et, LPVOID pdata, HWND hwnd = 0);
};
